 package constants;

 import client.MapleBuffStat;
 import client.MapleCharacter;
 import client.PlayerStats;
 import client.skills.Skill;
 import client.skills.SkillFactory;


 public class SkillConstants
 {
   public static boolean isBuffSkill(int skillid, boolean isbuff) {
/*   13 */     switch (skillid) {


       case 1076:
       case 2111002:
       case 2111003:
       case 2301002:
       case 2321001:
       case 4301004:
       case 32121006:
       case 100001266:
/*   24 */         isbuff = false;
         break;


       case 93:
       case 1004:
       case 1026:
       case 1101013:
       case 1121016:
       case 1200014:
       case 1210016:
       case 1221009:
       case 1221014:
       case 1310016:
       case 1311014:
       case 1321014:
       case 2101010:
       case 2120010:
       case 2121054:
       case 2201009:
       case 2220010:
       case 2221011:
       case 2221054:
       case 2320011:
       case 2320012:
       case 3101004:
       case 3101009:
       case 3111011:
       case 3201004:
       case 3210013:
       case 3211012:
       case 4200013:
       case 4211003:
       case 4221013:
       case 4221014:
       case 4330009:
       case 4341002:
       case 4341052:
       case 5001005:
       case 5100015:
       case 5111007:
       case 5120011:
       case 5120012:
       case 5121009:
       case 5211007:
       case 5220012:
       case 5220014:
       case 5220019:
       case 5221015:
       case 5311005:
       case 5320007:
       case 5321003:
       case 5321004:
       case 9001004:
       case 9101004:
       case 10000093:
       case 10001004:
       case 10001026:
       case 12000022:
       case 12100026:
       case 12110024:
       case 12111022:
       case 12120007:
       case 12121000:
       case 13101022:
       case 13110022:
       case 13110026:
       case 13120003:
       case 14121052:
       case 15111022:
       case 20000093:
       case 20001004:
       case 20001026:
       case 20010093:
       case 20011004:
       case 20011026:
       case 20020093:
       case 20021026:
       case 20031209:
       case 20031210:
       case 21001008:
       case 21121058:
       case 22111020:
       case 22140019:
       case 22141016:
       case 22170072:
       case 22171068:
       case 22171069:
       case 22171073:
       case 22171080:
       case 24111002:
       case 25101009:
       case 25121209:
       case 27100003:
       case 27110007:
       case 27121054:
       case 30000093:
       case 30001026:
       case 30010093:
       case 30010230:
       case 30010242:
       case 30011026:
       case 30020232:
       case 31011000:
       case 31121005:
       case 31201000:
       case 31211000:
       case 31221000:
       case 32001014:
       case 32001016:
       case 32101009:
       case 32111012:
       case 32111016:
       case 32121010:
       case 32121017:
       case 32121018:
       case 33000034:
       case 33001007:
       case 33001008:
       case 33001009:
       case 33001010:
       case 33001011:
       case 33001012:
       case 33001013:
       case 33001014:
       case 33001015:
       case 33001016:
       case 33001025:
       case 33101005:
       case 33101115:
       case 33111011:
       case 33111013:
       case 33111015:
       case 33121016:
       case 33121017:
       case 35001002:
       case 35101005:
       case 35101007:
       case 35101012:
       case 35111002:
       case 35111003:
       case 35111008:
       case 35111013:
       case 35120000:
       case 35120014:
       case 35121003:
       case 35121009:
       case 36001005:
       case 36111004:
       case 40011288:
       case 40011291:
       case 40011292:
       case 41101003:
       case 41101005:
       case 41110006:
       case 41120006:
       case 41121003:
       case 41121004:
       case 41121005:
       case 41121015:
       case 42101002:
       case 42121024:
       case 60001216:
       case 60001217:
       case 61101002:
       case 61110211:
       case 61111002:
       case 61111220:
       case 61120007:
       case 61121217:
       case 65121053:
       case 80001000:
       case 80001089:
       case 80001140:
       case 80001242:
       case 80001427:
       case 80001428:
       case 80001430:
       case 80001432:
       case 100000276:
       case 100000277:
       case 112001006:
       case 112101016:
       case 112111000:
       case 112120016:
       case 112120017:
       case 112120018:
       case 112120021:
       case 112120022:
       case 112120023:
       case 112121007:
       case 112121008:
       case 112121009:
       case 112121020:
       case 142111010:
       case 150021026:
       case 400011005:
       case 400021001:
       case 400021047:
       case 400031002:
       case 400031003:
       case 400031017:
       case 400051005:
/*  227 */         isbuff = true;
         break;
     }
/*  230 */     return isbuff;
   }

   public static int isFinisher(int skillid) {
/*  234 */     switch (skillid) {
       case 1101012:
       case 1111008:
       case 1121015:
/*  238 */         return 1;
       case 1111003:
/*  240 */         return 2;
       case 400011027:
/*  242 */         return 6;
     }
/*  244 */     return 0;
   }

   public static boolean isMagicChargeSkill(int skillid) {
/*  248 */     switch (skillid) {
       case 2321001:
       case 22140024:
       case 42121000:
/*  252 */         return true;
     }
/*  254 */     Skill skill = SkillFactory.getSkill(skillid);
/*  255 */     return (skill != null && skill.isChargingSkill());
   }


   public static boolean isRecoveryIncSkill(int skillId) {
/*  260 */     switch (skillId) {
       case 1110000:
       case 51110000:
       case 61110006:
/*  264 */         return true;
     }
/*  266 */     return false;
   }

   public static boolean isLinkedAttackSkill(int skillId) {
/*  270 */     return (getLinkedAttackSkill(skillId) != skillId);
   }

   public static int getLinkedAttackSkill(int skillId) {
/*  274 */     switch (skillId) {
       case 400010030:
/*  276 */         return 400011031;

       case 400011020:
/*  279 */         return 400011016;

       case 1320019:
/*  282 */         return 1320016;
       case 1120017:
/*  284 */         return 1121008;
       case 4100012:
/*  286 */         return 4101011;
       case 4120019:
/*  288 */         return 4120018;
       case 4221016:
/*  290 */         return 4221014;
       case 4210014:
/*  292 */         return 4211006;
       case 3000008:
       case 3000009:
       case 3000010:
/*  296 */         return 3001007;
       case 95001000:
/*  298 */         return 3111013;
       case 3120019:
/*  300 */         return 3120008;
       case 3100010:
/*  302 */         return 3101009;
       case 3120017:
/*  304 */         return 3121016;
       case 5001008:
/*  306 */         return 5001003;
       case 5101014:
/*  308 */         return 5101012;
       case 5111013:
/*  310 */         return 5111002;
       case 5111015:
/*  312 */         return 5111012;
       case 5121019:
/*  314 */         return 5121001;
       case 5121020:
/*  316 */         return 5121007;
       case 5121017:
/*  318 */         return 5121016;
       case 5201005:
/*  320 */         return 5201011;
       case 5201013:
       case 5201014:
/*  323 */         return 5201012;
       case 5210016:
       case 5210017:
       case 5210018:
/*  327 */         return 5210015;
       case 5220023:
       case 5220024:
       case 5220025:
       case 5221022:
/*  332 */         return 5220019;
       case 5310011:
/*  334 */         return 5311010;
       case 21000006:
/*  336 */         return 21001010;
       case 21000004:
/*  338 */         return 21001009;
       case 21100002:
/*  340 */         return 21101011;
       case 21100012:
/*  342 */         return 21101016;
       case 21100013:
/*  344 */         return 21101017;
       case 21110022:
       case 21110023:
/*  347 */         return 21110026;
       case 21110011:
       case 21110024:
       case 21110025:
/*  351 */         return 21111017;
       case 21110018:
/*  353 */         return 21111019;
       case 21120018:
       case 21120027:
/*  356 */         return 21120023;
       case 21120026:
/*  358 */         return 21120019;
       case 21110020:
       case 21110027:
       case 21110028:
       case 21120025:
/*  363 */         return 21111021;
       case 21121016:
       case 21121017:
/*  366 */         return 21120022;
       case 32120055:
/*  368 */         return 32121052;
       case 5300007:
/*  370 */         return 5301001;
       case 5320011:
/*  372 */         return 5321004;
       case 400051025:
       case 400051026:
/*  375 */         return 400051024;
       case 23101007:
/*  377 */         return 23101001;
       case 23111009:
       case 23111010:
/*  380 */         return 23111008;
       case 30011159:
/*  382 */         return 30011109;
       case 30010183:
       case 30010184:
       case 30010186:
/*  386 */         return 30010110;
       case 31001006:
       case 31001007:
       case 31001008:
/*  390 */         return 31000004;
       case 31121010:
/*  392 */         return 31121000;
       case 24111008:
/*  394 */         return 24111006;
       case 24121010:
/*  396 */         return 24121003;
       case 20010022:
/*  398 */         return 80001000;
       case 27120211:
/*  400 */         return 27121201;
       case 61001004:
       case 61001005:
       case 61110212:
       case 61120219:
/*  405 */         return 61001000;
       case 61111111:
       case 61111218:
/*  408 */         return 61111100;
       case 61111220:
/*  410 */         return 61111002;
       case 61110009:
/*  412 */         return 61111003;
       case 61121116:
       case 61121124:
       case 61121221:
       case 61121223:
/*  417 */         return 61121104;
       case 61120008:
/*  419 */         return 61111008;
       case 61121203:
/*  421 */         return 61121102;
       case 61121201:
/*  423 */         return 61121100;
       case 61110211:
/*  425 */         return 61101002;
       case 61121217:
/*  427 */         return 61120007;
       case 61121222:
/*  429 */         return 61121105;
       case 65121007:
       case 65121008:
/*  432 */         return 65121101;
       case 400051019:
       case 400051020:
       case 400051027:
/*  436 */         return 400051018;
       case 31011004:
       case 31011005:
       case 31011006:
       case 31011007:
/*  441 */         return 31011000;
       case 31201007:
       case 31201008:
       case 31201009:
       case 31201010:
/*  446 */         return 31201000;
       case 31211007:
       case 31211008:
       case 31211009:
       case 31211010:
/*  451 */         return 31211000;
       case 31211011:
/*  453 */         return 31211002;
       case 31221009:
       case 31221010:
       case 31221011:
       case 31221012:
/*  458 */         return 31221000;
       case 31221014:
/*  460 */         return 31221001;
       case 36101008:
       case 36101009:
/*  463 */         return 36101000;
       case 36111009:
       case 36111010:
/*  466 */         return 36111000;
       case 36121013:
       case 36121014:
/*  469 */         return 36121002;
       case 36121011:
       case 36121012:
/*  472 */         return 36121001;
       case 36110004:
/*  474 */         return 36111004;
       case 11101220:
/*  476 */         return 11101120;
       case 11101221:
/*  478 */         return 11101121;
       case 11111120:
/*  480 */         return 11111220;
       case 11111121:
/*  482 */         return 11111221;
       case 11120010:
/*  484 */         return 11120009;
       case 11121011:
       case 11121012:
       case 11121014:
/*  488 */         return 11121005;
       case 11121102:
       case 11121201:
       case 11121202:
/*  492 */         return 11121101;
       case 11121103:
/*  494 */         return 11121203;
       case 11121013:
/*  496 */         return 11121004;
       case 11121055:
/*  498 */         return 11121052;
       case 400011022:
       case 400011023:
/*  501 */         return 400011005;

       case 400011089:
/*  504 */         return 400011088;

       case 12000026:
/*  507 */         return 12001020;
       case 12100028:
/*  509 */         return 12100020;
       case 12110028:
/*  511 */         return 12110020;
       case 12120010:
/*  513 */         return 12120006;
       case 12120011:
/*  515 */         return 12121001;
       case 12120012:
/*  517 */         return 12121003;
       case 12120013:
       case 12120014:
/*  520 */         return 12121004;
       case 400021043:
       case 400021044:
       case 400021045:
/*  524 */         return 400021042;



       case 13100027:
/*  529 */         return 13101022;
       case 13110027:
/*  531 */         return 13110022;
       case 13120010:
/*  533 */         return 13120003;
       case 13121009:
/*  535 */         return 13121002;
       case 14111023:
/*  537 */         return 14111022;
       case 14101021:
/*  539 */         return 14101020;
       case 14111021:
/*  541 */         return 14111020;
       case 14121002:
/*  543 */         return 14121001;
       case 14000028:
       case 14000029:
/*  546 */         return 14001027;
       case 65111007:
/*  548 */         return 65111100;
       case 100001269:
/*  550 */         return 100001266;
       case 101000102:
/*  552 */         return 101000101;
       case 101000202:
/*  554 */         return 101000201;
       case 101100202:
/*  556 */         return 101100201;
       case 101110104:
/*  558 */         return 101110102;
       case 101110201:
/*  560 */         return 101110200;
       case 101110204:
/*  562 */         return 101110203;
       case 101120101:
/*  564 */         return 101120100;
       case 101120103:
/*  566 */         return 101120102;
       case 101120105:
       case 101120106:
/*  569 */         return 101120104;
       case 101120200:
/*  571 */         return 101121200;
       case 101120203:
/*  573 */         return 101120202;
       case 101120205:
       case 101120206:
/*  576 */         return 101120204;
       case 112000001:
       case 112000002:
       case 112000019:
/*  580 */         return 112000000;
       case 112100001:
/*  582 */         return 112100000;
       case 112120001:
       case 112120002:
       case 112120003:
/*  586 */         return 112120000;
       case 400021083:
       case 400021084:
       case 400021085:
/*  590 */         return 400021082;
       case 25000001:
/*  592 */         return 25001000;
       case 25100010:
/*  594 */         return 25100009;
       case 25111211:
/*  596 */         return 25111209;
       case 25120115:
/*  598 */         return 25120110;
       case 25120001:
       case 25120002:
       case 25120003:
/*  602 */         return 25121000;
       case 25110001:
       case 25110002:
       case 25110003:
/*  606 */         return 25111000;
       case 25000003:
/*  608 */         return 25001002;
       case 25100001:
       case 25100002:
/*  611 */         return 25101000;
       case 35111007:
/*  613 */         return 35111006;
       case 35121016:
/*  615 */         return 35121015;
       case 33001205:
/*  617 */         return 33001105;
       case 33101213:
/*  619 */         return 33101113;
       case 33111212:
/*  621 */         return 33111112;
       case 33121214:
/*  623 */         return 33121114;
       case 33001008:
       case 33001009:
       case 33001010:
       case 33001011:
       case 33001012:
       case 33001013:
       case 33001014:
       case 33001015:
/*  632 */         return 33001007;
       case 33101215:
/*  634 */         return 33101115;
       case 400031013:
       case 400031014:
/*  637 */         return 400031012;
       case 100000276:
       case 100000277:
/*  640 */         return 100000267;
       case 41001004:
       case 41001005:
       case 41001009:
/*  644 */         return 41001000;
       case 41101008:
       case 41101009:
       case 41101011:
/*  648 */         return 41101000;
       case 41111011:
       case 41111012:
       case 41111014:
/*  652 */         return 41111000;
       case 41121011:
       case 41121012:
       case 41121016:
/*  656 */         return 41121000;
       case 41001006:
       case 41001007:
       case 41001008:
/*  660 */         return 41001002;
       case 41121022:
/*  662 */         return 41121002;
       case 42101020:
       case 42101021:
       case 42101023:
/*  666 */         return 42101002;
       case 42121020:
       case 42121021:
       case 42121023:
/*  670 */         return 42120011;

       case 42101100:
       case 42101101:
       case 42101102:
/*  675 */         return 42100024;

       case 42111110:
       case 42111111:
       case 42111112:
/*  680 */         return 42110013;

       case 42120026:
       case 42120027:
       case 42120028:
/*  685 */         return 42120025;

       case 142110003:
       case 142110015:
/*  689 */         return 142111002;
       case 142120001:
       case 142120002:
       case 142120014:
/*  693 */         return 142120000;
       case 142120030:
/*  695 */         return 142121030;
       case 142100001:
/*  697 */         return 142100000;
       case 142110001:
/*  699 */         return 142110000;
       case 22110013:
       case 22110014:
       case 22110022:
       case 22110023:
       case 22110024:
       case 22110025:
/*  706 */         return 22111012;
       case 22140014:
       case 22140015:
       case 22140022:
       case 22140023:
       case 22140024:
/*  712 */         return 22141012;
       case 22170066:
       case 22170067:
       case 22170094:
/*  716 */         return 22171063;
       case 22171083:
/*  718 */         return 22171080;
       case 2121055:
/*  720 */         return 2121052;



       case 5721055:
/*  725 */         return 5721052;


       case 400021020:
       case 400021021:
       case 400021022:
       case 400021023:
       case 400021024:
       case 400021025:
       case 400021026:
       case 400021027:
       case 400021029:
/*  737 */         return 400021028;

       case 400021031:
       case 400021040:
/*  741 */         return 400021030;



       case 400021033:
/*  746 */         return 400021032;


       case 400021034:
       case 400021035:
       case 400021036:
       case 400021037:
       case 400021038:
       case 400021039:
/*  755 */         return 400021019;

       case 400020002:
/*  758 */         return 400021002;

       case 400011007:
       case 400011008:
       case 400011009:
       case 400011018:
/*  764 */         return 400011006;

       case 400041016:
       case 400041017:
       case 400041018:
/*  769 */         return 400041001;

       case 400051003:
       case 400051004:
/*  773 */         return 400051002;

       case 21121068:
/*  776 */         return 400011016;

       case 400051013:
/*  779 */         return 400051007;

       case 400010010:
/*  782 */         return 400011010;

       case 400010000:
/*  785 */         return 400011000;


       case 400021007:
/*  789 */         return 400021006;

       case 400020009:
       case 400020010:
       case 400020011:
       case 400021009:
       case 400021010:
       case 400021011:
/*  797 */         return 400021008;

       case 400030002:
/*  800 */         return 400031002;

       case 400031010:
/*  803 */         return 400031006;

       case 400031004:
/*  806 */         return 400031003;

       case 400040006:
/*  809 */         return 400041006;

       case 400041003:
       case 400041004:
       case 400041005:
/*  814 */         return 400041002;

       case 400031011:
/*  817 */         return 400031007;

       case 400041010:
       case 400041011:
       case 400041012:
       case 400041013:
       case 400041014:
       case 400041015:
/*  825 */         return 400041009;

       case 23121015:
/*  828 */         return 23121014;

       case 37120055:
       case 37120056:
       case 37120057:
       case 37120058:
       case 37120059:
/*  835 */         return 37121052;

       case 37000008:
       case 37000011:
       case 37000012:
       case 37000013:
/*  841 */         return 37001002;

       case 37100002:
/*  844 */         return 37101001;
       case 22170061:
/*  846 */         return 22170060;
       case 21120024:
/*  848 */         return 21120022;
       case 37110004:
/*  850 */         return 37111003;

       case 37110001:
       case 37110002:
/*  854 */         return 37111000;

       case 37120014:
       case 37120015:
       case 37120016:
       case 37120017:
       case 37120018:
       case 37120019:
/*  862 */         return 37121004;

       case 37120022:
       case 37120024:
/*  866 */         return 37121003;

       case 37100008:
/*  869 */         return 37101000;

       case 37000009:
/*  872 */         return 37001000;

       case 37110011:
/*  875 */         return 37111005;

       case 37000005:
/*  878 */         return 37001004;

       case 1100012:
/*  881 */         return 1101012;

       case 1111014:
/*  884 */         return 1111008;

       case 33120018:
/*  887 */         return 33121017;

       case 51111011:
       case 51111012:
/*  891 */         return 51110009;

       case 51001006:
       case 51001007:
       case 51001008:
       case 51001009:
       case 51001010:
       case 51001011:
       case 51001012:
       case 51001013:
/*  901 */         return 51001005;

       case 142100008:
/*  904 */         return 142101003;

       case 142000006:
/*  907 */         return 142001004;

       case 33000036:
/*  910 */         return 33001010;

       case 131001001:
       case 131001002:
       case 131001003:
       case 131001101:
       case 131001102:
       case 131001103:
       case 131002000:
/*  919 */         return 131001000;

       case 131002014:
/*  922 */         return 131000014;

       case 131002016:
/*  925 */         return 131000016;

       case 131002015:
/*  928 */         return 131001015;

       case 131001113:
       case 131001213:
       case 131001313:
/*  933 */         return 131001013;

       case 131002012:
/*  936 */         return 131001012;

       case 131001011:
       case 131002010:
/*  940 */         return 131001010;

       case 131001108:
       case 131001208:
/*  944 */         return 131001008;

       case 131001107:
       case 131001207:
       case 131001307:
/*  949 */         return 131001007;

       case 131001104:
       case 131002004:
/*  953 */         return 131001004;

       case 131001106:
       case 131001206:
       case 131001306:
       case 131001406:
       case 131001506:
/*  960 */         return 131001006;

       case 41111016:
/*  963 */         return 41111018;

       case 2100010:
/*  966 */         return 2101010;

       case 61121220:
/*  969 */         return 61121015;

       case 5121055:
/*  972 */         return 5121052;

       case 14000027:
/*  975 */         return 14001027;

       case 14121055:
       case 14121056:
/*  979 */         return 14121054;

       case 5701012:
/*  982 */         return 5701011;

       case 61111216:
/*  985 */         return 61101100;

       case 65120011:
/*  988 */         return 65121011;

       case 42110010:
       case 42110011:
       case 42120024:
/*  993 */         return 42101002;

       case 42111011:
/*  996 */         return 42111000;

       case 41121021:
/*  999 */         return 41121018;

       case 41111017:
/* 1002 */         return 41111001;

       case 41121020:
/* 1005 */         return 41121017;

       case 41111018:
/* 1008 */         return 41111015;

       case 41101015:
/* 1011 */         return 41101013;

       case 41101014:
/* 1014 */         return 41101004;

       case 41001015:
/* 1017 */         return 41001013;

       case 41001014:
/* 1020 */         return 41001002;

       case 41001012:
/* 1023 */         return 41001011;

       case 40011290:
/* 1026 */         return 40011289;

       case 42101022:
/* 1029 */         return 42101002;

       case 42121022:
/* 1032 */         return 42120011;

       case 42001007:
/* 1035 */         return 42001002;

       case 42100010:
/* 1038 */         return 42101001;

       case 42001005:
       case 42001006:
/* 1042 */         return 42001000;

       case 12111029:
/* 1045 */         return 12111023;

       case 12001027:
/* 1048 */         return 12000023;

       case 32110020:
       case 32111003:
/* 1052 */         return 32111016;

       case 33001202:
/* 1055 */         return 33001102;

       case 33121255:
/* 1058 */         return 33121155;

       case 33000037:
/* 1061 */         return 33001016;

       case 33100016:
/* 1064 */         return 33101115;

       case 33110016:
/* 1067 */         return 33111015;

       case 2321055:
/* 1070 */         return 2321052;

       case 61111217:
/* 1073 */         return 61101101;

       case 61111219:
/* 1076 */         return 61111101;

       case 61111215:
/* 1079 */         return 61001101;

       case 61120018:
/* 1082 */         return 61121105;

       case 10001253:
/* 1085 */         return 10000252;

       case 5710023:
       case 5710024:
       case 5710025:
       case 5710026:
/* 1091 */         return 5710020;

       case 2120013:
/* 1094 */         return 2121007;

       case 2220014:
/* 1097 */         return 2221007;

       case 12001028:
/* 1100 */         return 12000023;

       case 12121055:
/* 1103 */         return 12121054;

       case 21110003:
/* 1106 */         return 21111013;

       case 21110006:
/* 1109 */         return 21111014;

       case 21120005:
/* 1112 */         return 21121013;

       case 21121055:
       case 21121056:
/* 1116 */         return 21120052;

       case 24120055:
/* 1119 */         return 24121052;

       case 21000007:
/* 1122 */         return 21001010;

       case 21110007:
       case 21110008:
       case 21110015:
/* 1127 */         return 21110002;

       case 21120009:
       case 21120010:
       case 21120015:
/* 1132 */         return 21120002;

       case 33101008:
/* 1135 */         return 33101004;

       case 35101009:
       case 35101010:
/* 1139 */         return 35100008;

       case 35111009:
       case 35111010:
/* 1143 */         return 35111001;

       case 35121013:
/* 1146 */         return 35111004;

       case 35121011:
/* 1149 */         return 35121009;

       case 5710012:
/* 1152 */         return 5711002;

       case 61111113:
/* 1155 */         return 61111100;

       case 400031016:
/* 1158 */         return 400031015;

       case 400041026:
       case 400041027:
/* 1162 */         return 400041025;


       case 400011056:
       case 400011065:
/* 1167 */         return 400011055;


       case 400031018:
       case 400031019:
/* 1172 */         return 400031017;

       case 400011033:
       case 400011034:
       case 400011035:
       case 400011036:
       case 400011037:
/* 1179 */         return 400011032;

       case 400021049:
       case 400021050:
/* 1183 */         return 400021041;

       case 400041023:
       case 400041024:
/* 1187 */         return 400041022;

       case 400041031:
/* 1190 */         return 400041029;

       case 400011062:
       case 400011063:
       case 400011064:
/* 1195 */         return 400011038;

       case 400040008:
/* 1198 */         return 400041008;

       case 400011059:
       case 400011060:
       case 400011061:
/* 1203 */         return 400011058;

       case 400001011:
/* 1206 */         return 400001010;

       case 400031021:
/* 1209 */         return 400031020;

       case 400001016:
/* 1212 */         return 400001013;

       case 400001032:
       case 400001033:
       case 400001034:
       case 400001035:
/* 1218 */         return 400001031;


       case 400041034:
/* 1222 */         return 400041033;


       case 155001202:
/* 1226 */         return 155001102;

       case 155101002:
       case 155101003:
       case 155101013:
       case 155101015:
       case 155101101:
       case 155101112:
       case 155101200:
       case 155101201:
       case 155101212:
/* 1237 */         return 155101100;

       case 155101204:
/* 1240 */         return 155101104;

       case 155100009:
/* 1243 */         return 155101008;

       case 155110001:
/* 1246 */         return 155110000;

       case 155111202:
       case 155111211:
       case 155111212:
/* 1251 */         return 155111102;

       case 155120001:
/* 1254 */         return 155120000;

       case 155111006:
/* 1257 */         return 155111306;

       case 155121002:
       case 155121003:
       case 155121004:
       case 155121005:
       case 155121202:
       case 155121215:
/* 1265 */         return 155121102;

       case 155121006:
       case 155121007:
/* 1269 */         return 155121306;

       case 155121041:
/* 1272 */         return 155121341;

       case 155001000:
       case 155001001:
/* 1276 */         return 155001100;

       case 155111002:
       case 155111003:
       case 155111004:
       case 155111005:
       case 155111111:
/* 1283 */         return 155111102;


       case 64001006:
/* 1287 */         return 64001001;


       case 64101008:
/* 1291 */         return 64101002;


       case 64121012:
       case 64121013:
       case 64121014:
       case 64121015:
       case 64121017:
       case 64121018:
       case 64121019:
/* 1301 */         return 64121001;

       case 64111012:
/* 1304 */         return 64111004;

       case 64121022:
       case 64121023:
       case 64121024:
/* 1309 */         return 64121021;

       case 64121011:
       case 64121016:
/* 1313 */         return 64121003;

       case 400051035:
/* 1316 */         return 400051334;


       case 400031001:
/* 1320 */         return 400031000;

       case 400011069:
/* 1323 */         return 400011068;

       case 400021077:
/* 1326 */         return 400021070;

       case 400031026:
       case 400031027:
/* 1330 */         return 400031025;

       case 400041043:
/* 1333 */         return 400041042;


       case 400051049:
       case 400051050:
/* 1338 */         return 400051040;


       case 400051045:
/* 1342 */         return 400051044;


       case 400021075:
       case 400021076:
/* 1347 */         return 400021074;


       case 400011080:
       case 400011081:
       case 400011082:
/* 1353 */         return 400011079;


       case 400031031:
/* 1357 */         return 400031030;

       case 400011053:
/* 1360 */         return 400011052;

       case 400011074:
       case 400011075:
       case 400011076:
/* 1365 */         return 400011073;

       case 400010071:
/* 1368 */         return 400010070;


       case 400051055:
       case 400051056:
       case 400051057:
/* 1374 */         return 400051054;

       case 400051029:
       case 400051030:
       case 400051031:
       case 400051032:
/* 1380 */         return 400051028;

       case 400051048:
/* 1383 */         return 400051047;


       case 400031029:
/* 1387 */         return 400031028;




       case 3011006:
       case 3011007:
       case 3011008:
/* 1395 */         return 3011005;

       case 3301004:
/* 1398 */         return 3301003;

       case 3301009:
/* 1401 */         return 3301008;

       case 3311003:
/* 1404 */         return 3311002;

       case 3311011:
/* 1407 */         return 3311010;

       case 3311013:
/* 1410 */         return 3310001;

       case 3321003:
       case 3321004:
       case 3321005:
       case 3321006:
       case 3321007:
/* 1417 */         return 3320002;

       case 3321015:
       case 3321016:
       case 3321017:
       case 3321018:
       case 3321019:
       case 3321020:
       case 3321021:
/* 1426 */         return 3321014;

       case 3321036:
       case 3321037:
       case 3321038:
       case 3321039:
       case 3321040:
/* 1433 */         return 3321035;

       case 400031035:
/* 1436 */         return 400031034;

       case 400031038:
       case 400031039:
       case 400031040:
       case 400031041:
       case 400031042:
       case 400031043:
/* 1444 */         return 400031037;




       case 164001002:
/* 1450 */         return 164001001;

       case 164100000:
       case 164101001:
       case 164101002:
/* 1455 */         return 164101000;

       case 164101004:
/* 1458 */         return 164101003;

       case 164101006:
/* 1461 */         return 164100006;

       case 164110000:
       case 164111001:
       case 164111002:
       case 164111009:
       case 164111010:
       case 164111011:
/* 1469 */         return 164111000;

       case 164110003:
       case 164111004:
       case 164111005:
       case 164111006:
/* 1475 */         return 164111003;

       case 164120000:
       case 164121001:
       case 164121002:
       case 164121014:
/* 1481 */         return 164121000;

       case 164121004:
/* 1484 */         return 164121003;

       case 164121011:
       case 164121012:
/* 1488 */         return 164121006;

       case 164121015:
/* 1491 */         return 164121008;

       case 164120007:
/* 1494 */         return 164121007;

       case 164121044:
/* 1497 */         return 164121043;

       case 400041049:
/* 1500 */         return 400041048;

       case 400041051:
/* 1503 */         return 400041050;

       case 400041053:
/* 1506 */         return 400041052;


       case 152001002:
/* 1510 */         return 152001001;
       case 152110004:
/* 1512 */         return 152001001;
       case 400011106:
       case 400011107:
/* 1515 */         return 400011105;
     }
/* 1517 */     return skillId;
   }

   public static boolean isForceIncrease(int skillId) {
/* 1521 */     switch (skillId) {


       case 30010111:
       case 30010166:
       case 30011167:
       case 30011168:
       case 30011169:
       case 30011170:
       case 31000004:
       case 31001006:
       case 31001007:
       case 31001008:
       case 31121052:
       case 400011007:
       case 400011008:
       case 400011009:
       case 400011018:
/* 1539 */         return true;
     }
/* 1541 */     return false;
   }

   public static boolean is超越攻击(int skillId) {
/* 1545 */     switch (skillId) {
       case 31011000:
       case 31011004:
       case 31011005:
       case 31011006:
       case 31011007:
       case 31201000:
       case 31201007:
       case 31201008:
       case 31201009:
       case 31201010:
       case 31211000:
       case 31211007:
       case 31211008:
       case 31211009:
       case 31211010:
       case 31221000:
       case 31221009:
       case 31221010:
       case 31221011:
       case 31221012:
       case 31221052:
/* 1567 */         return true;
     }
/* 1569 */     return false;
   }

   public static boolean isElementAmp_Skill(int skillId) {
/* 1573 */     switch (skillId) {
       case 2110001:
       case 2210001:
       case 22140020:
/* 1577 */         return true;
     }
/* 1579 */     return false;
   }

   public static int getMPEaterForJob(int job) {
/* 1583 */     switch (job) {
       case 210:
       case 211:
       case 212:
/* 1587 */         return 2100000;
       case 220:
       case 221:
       case 222:
/* 1591 */         return 2200000;
       case 230:
       case 231:
       case 232:
/* 1595 */         return 2300000;
     }
/* 1597 */     return 2100000;
   }

   public static int getJobShortValue(int job) {
/* 1601 */     if (job >= 1000) {
/* 1602 */       job -= job / 1000 * 1000;
     }
/* 1604 */     job /= 100;
/* 1605 */     if (job == 4) {
/* 1606 */       job *= 2;
/* 1607 */     } else if (job == 3) {
/* 1608 */       job++;
/* 1609 */     } else if (job == 5) {
/* 1610 */       job += 11;
     }
/* 1612 */     return job;
   }

   public static boolean isPyramidSkill(int skill) {
/* 1616 */     return (JobConstants.is新手职业(skill / 10000) && skill % 10000 == 1020);
   }

   public static boolean isInflationSkill(int skill) {
/* 1620 */     return (JobConstants.is新手职业(skill / 10000) && skill % 10000 >= 1092 && skill % 10000 <= 1095);
   }

   public static boolean isMulungSkill(int skill) {
/* 1624 */     return (JobConstants.is新手职业(skill / 10000) && (skill % 10000 == 1009 || skill % 10000 == 1010 || skill % 10000 == 1011));
   }

   public static boolean isIceKnightSkill(int skill) {
/* 1628 */     return (JobConstants.is新手职业(skill / 10000) && (skill % 10000 == 1098 || skill % 10000 == 99 || skill % 10000 == 100 || skill % 10000 == 103 || skill % 10000 == 104 || skill % 10000 == 1105));
   }

   public static boolean is骑兽技能(int skill) {
/* 1632 */     return (JobConstants.is新手职业(skill / 10000) && skill % 10000 == 1004);
   }

   public static boolean is品克缤技能(int skill) {
/* 1636 */     return (skill / 10000 == 13000 || skill / 10000 == 13100);
   }

   public static int getAttackDelay(int skillId, Skill skill) {
/* 1640 */     switch (skillId) {
       case 2111003:
       case 112001006:
       case 142110011:
/* 1644 */         return 0;
       case 1311011:
       case 3111013:
       case 3120019:
       case 5220023:
       case 5220024:
       case 5220025:
       case 5221022:
       case 12001020:
       case 12100020:
       case 12110020:
       case 12120006:
       case 23121000:
       case 31201001:
       case 33121114:
       case 142101009:
       case 142121005:
       case 400051040:
       case 400051049:
       case 400051050:
/* 1664 */         return 40;
       case 4111010:
/* 1666 */         return 99;
       case 13111020:
       case 13121001:
/* 1669 */         return 120;
       case 4100012:
       case 4120019:
       case 24100003:
       case 24120002:
       case 24121000:
       case 24121005:
       case 27121201:
       case 36001005:
       case 61101002:
       case 61110211:
       case 61120007:
       case 61121217:
/* 1682 */         return 30;
       case 2221012:
/* 1684 */         return 180;
       case 27120211:
       case 61111100:
       case 61111113:
/* 1688 */         return 210;
       case 31001006:
       case 31001007:
       case 31001008:
/* 1692 */         return 270;
       case 31121005:
/* 1694 */         return 510;
       case 61001000:
       case 61001004:
       case 61001005:
/* 1698 */         return 240;
       case 60011216:
       case 65121003:
/* 1701 */         return 180;
       case 36121000:
/* 1703 */         return 120;
       case 0:
/* 1705 */         return 330;
     }
/* 1707 */     if (skill != null && skill.getSkillType() == 3) {
/* 1708 */       return 0;
     }
/* 1710 */     if (skill != null && skill.getDelay() > 0 && !isNoDelaySkill(skillId)) {
/* 1711 */       return skill.getDelay();
     }
/* 1713 */     return 330;
   }




   public static boolean isAdminSkill(int skillId) {
/* 1720 */     int jobId = skillId / 10000;
/* 1721 */     return (jobId == 800 || jobId == 900);
   }




   public static boolean isSpecialSkill(int skillId) {
/* 1728 */     int jobId = skillId / 10000;
/* 1729 */     return (jobId == 7000 || jobId == 7100 || jobId == 8000 || jobId == 9000 || jobId == 9100 || jobId == 9200 || jobId == 9201 || jobId == 9202 || jobId == 9203 || jobId == 9204);
   }

   public static boolean isApplicableSkill(int skillId) {
/* 1733 */     return (((skillId < 80000000 || skillId >= 100000000) && (skillId % 10000 < 8000 || skillId % 10000 > 8006) && !is天使祝福戒指(skillId)) || skillId >= 92000000 || (skillId >= 80000000 && skillId < 80020000));
   }

   public static boolean isApplicableSkill_(int skillId) {
/* 1737 */     for (int i : PlayerStats.pvpSkills) {
/* 1738 */       if (skillId == i) {
/* 1739 */         return true;
       }
     }
/* 1742 */     return ((skillId >= 90000000 && skillId < 92000000) || (skillId % 10000 >= 8000 && skillId % 10000 <= 8003) || is天使祝福戒指(skillId));
   }

   public static int getMasterySkill(int job) {
/* 1746 */     if (job >= 1410 && job <= 1412)
/* 1747 */       return 14100023; 
/* 1748 */     if (job >= 410 && job <= 412) {
/* 1749 */       return 4100000;
     }
/* 1751 */     return 0;
   }

   public static boolean is不检测范围(int skillId) {
/* 1755 */     switch (skillId) {
       case 2211010:
       case 2221006:
       case 2221012:
       case 3101005:
       case 4100012:
       case 4120019:
       case 5101012:
       case 5300007:
       case 5301001:
       case 27120211:
       case 27121100:
       case 27121201:
       case 31101002:
       case 61111100:
       case 61111113:
/* 1771 */         return true;
     }
/* 1773 */     return false;
   }

   public static boolean isNoCheckAttackSkill(int skillId) {
/* 1777 */     switch (skillId) {
       case 1201011:
       case 1201012:
       case 1211008:
       case 1221004:
       case 1221009:
       case 1321052:
       case 3120017:
       case 3221007:
       case 4100012:
       case 4120019:
       case 4210014:
       case 4211006:
       case 23121003:
       case 24100003:
       case 24120002:
       case 27111100:
       case 35001002:
       case 35111003:
       case 36110004:
       case 65111007:
       case 142110011:
       case 400010000:
       case 400021001:
       case 400031017:
       case 400041010:
/* 1803 */         return true;
     }

/* 1806 */     return false;
   }






















































   public static boolean isNoDelaySkill(int skillId) {
/* 1863 */     switch (skillId) {


       case 2111007:
       case 2211007:
       case 2221012:
       case 2311007:
       case 4221052:
       case 4341052:
       case 5100015:
       case 21001008:
       case 22000015:
       case 22110022:
       case 22110023:
       case 22110025:
       case 22111012:
       case 25101009:
       case 31121005:
       case 32001014:
       case 32100010:
       case 32110017:
       case 32111016:
       case 32120019:
       case 33001007:
       case 33001008:
       case 33001009:
       case 33001010:
       case 33001011:
       case 33001012:
       case 33001013:
       case 33001014:
       case 33001015:
       case 33111013:
       case 33121016:
       case 35001002:
       case 35111003:
       case 35121003:
       case 61101002:
       case 61120007:
       case 142101009:
       case 142121005:
       case 142121030:
       case 400020046:
       case 400021004:
       case 400021046:
       case 400041038:
       case 400041041:
       case 400051015:
       case 400051016:
       case 400051047:
       case 400051048:
/* 1914 */         return true;
     }
/* 1916 */     return false;
   }


































































   public static boolean is召唤兽戒指(int skillId) {
/* 1985 */     switch (skillId) {

       case 80000052:
       case 80000053:
       case 80000054:
       case 80000086:
       case 80001154:
       case 80001262:
       case 80001518:
       case 80001519:
       case 80001520:
       case 80001521:
       case 80001522:
       case 80001523:
       case 80001524:
       case 80001525:
       case 80001526:
       case 80001527:
       case 80001528:
       case 80001529:
       case 80001530:
       case 80010067:
       case 80010068:
       case 80010069:
       case 80010070:
       case 80010071:
       case 80010072:
       case 80010075:
       case 80010076:
       case 80010077:
       case 80010078:
       case 80010079:
       case 80010080:
       case 80011103:
       case 80011104:
       case 80011105:
       case 80011106:
       case 80011107:
       case 80011108:
/* 2024 */         return true;
     }

/* 2027 */     return is天使祝福戒指(skillId);
   }

   public static boolean is天使祝福戒指(int skillId) {
/* 2031 */     return (JobConstants.is新手职业(skillId / 10000) && (skillId % 10000 == 1085 || skillId % 10000 == 1087 || skillId % 10000 == 1090 || skillId % 10000 == 1179));
   }

   public static boolean is气象戒指(int skillId) {
/* 2035 */     return (JobConstants.is新手职业(skillId / 10000) && skillId / 10000 == 8001 && skillId % 10000 >= 67 && skillId % 10000 <= 80);
   }








   public static int getCardSkillLevel(int level) {
/* 2046 */     if (level >= 60 && level < 100)
/* 2047 */       return 2; 
/* 2048 */     if (level >= 100 && level < 200)
/* 2049 */       return 3; 
/* 2050 */     if (level >= 200) {
/* 2051 */       return 4;
     }
/* 2053 */     return 1;
   }

   public static boolean is致命毒液(int skillId) {
/* 2057 */     switch (skillId) {
       case 4120011:
       case 4220011:
/* 2060 */         return true;
     }
/* 2062 */     return false;
   }




   public static int getLuminousSkillMode(int skillId) {
/* 2069 */     switch (skillId) {
       case 27001100:
       case 27101100:
       case 27101101:
       case 27111100:
       case 27111101:
       case 27121100:
/* 2076 */         return 20040216;
       case 27001201:
       case 27101202:
       case 27111202:
       case 27120211:
       case 27121201:
       case 27121202:
/* 2083 */         return 20040217;
       case 27111303:
       case 27121303:
/* 2086 */         return 20040219;
     }
/* 2088 */     return -1;
   }







   public static boolean isSkillTiem(int skillid) {
/* 2098 */     switch (skillid) {
       case 2221012:
       case 4221052:
       case 31121005:
       case 61101002:
       case 61120007:
       case 112111016:
/* 2105 */         return true;
     }
/* 2107 */     return false;
   }

   public static boolean isKSTelekinesisSkill(int skillid) {
/* 2111 */     switch (skillid) {
       case 142001000:
       case 142001002:
       case 142100000:
       case 142100001:
       case 142100010:
       case 142101003:
       case 142101009:
       case 142110000:
       case 142110001:
       case 142110011:
       case 142111007:
       case 142120002:
       case 142121005:
/* 2125 */         return false;
     }
/* 2127 */     return true;
   }


   public static boolean isSkip4Skill(int skillid) {
/* 2132 */     switch (skillid) {
       case 14001020:
       case 14101020:
       case 14101021:
       case 14111020:
       case 14111021:
       case 14111022:
       case 14111023:
       case 14120045:
       case 14121001:
       case 14121002:
       case 23100004:
       case 23110006:
       case 23120013:
       case 31201001:
       case 400031024:
       case 400051045:
/* 2149 */         return true;
     }
/* 2151 */     if (skillid / 1000 == 23001 || skillid / 1000 == 23101 || skillid / 1000 == 23111 || skillid / 1000 == 23121 || (skillid / 1000 == 131001 && skillid != 131001207 && skillid != 131001107)) {
/* 2152 */       return (skillid != 23121052);
     }

/* 2155 */     return (getSoulMasterAttackMode(skillid) > 0);
   }

   public static boolean isSkip4CloseAttack(int skillid) {
/* 2159 */     switch (skillid) {




       case 5101012:
       case 5101014:
       case 5301001:
       case 12121001:
       case 14111022:
       case 22140015:
       case 22140024:
       case 61111100:
       case 61111113:
       case 61111218:
       case 101120200:
       case 101120203:
       case 101120205:
       case 400011068:
       case 400011069:
       case 400011079:
       case 400031024:
       case 400041039:
       case 400041042:
/* 2183 */         return true;
     }
/* 2185 */     return false;
   }

   public static int getSoulMasterAttackMode(int skillid) {
/* 2189 */     switch (skillid) {
       case 11101120:
       case 11101121:
       case 11111120:
       case 11111121:
       case 11121101:
       case 11121102:
       case 11121103:
/* 2197 */         return 1;

       case 11101220:
       case 11101221:
       case 11111220:
       case 11111221:
       case 11121201:
       case 11121202:
       case 11121203:
/* 2206 */         return 2;
     }

/* 2209 */     return -1;
   }

   public static boolean ge(int skillid) {
/* 2213 */     switch (skillid) {
       case 2100010:
       case 2111007:
       case 2201009:
       case 2211007:
       case 2311007:
       case 4341052:
       case 5100015:
       case 12111007:
       case 21001008:
       case 21101003:
       case 22161005:
       case 24120055:
       case 32111010:
       case 32111016:
       case 35121003:
       case 61120018:
       case 101120203:
/* 2231 */         return true;
     }

/* 2234 */     return false;
   }

   public static boolean gw(int skillId) {
/* 2238 */     switch (skillId) {
       case 2221012:
       case 5101012:
       case 5101014:
       case 5301001:
       case 12121001:
       case 14111022:
       case 22140015:
       case 22140024:
       case 27121201:
       case 31201001:
       case 61111100:
       case 61111113:
       case 61111218:
       case 101120200:
       case 101120203:
       case 101120205:
/* 2255 */         return true;
     }
/* 2257 */     return false;
   }


   public static boolean isShowForgenBuff(MapleBuffStat buff) {
/* 2262 */     switch (buff) {


       case 变形值:
       case 激素狂飙:
       case 月光转换:
       case 日月轮转:
       case 晓月流基本技能:
       case 重生契约:
       case 精神连接:
       case 灵魂凝视:
       case 伤害置换:
       case 返回原位置:
       case 影分身:
       case 三彩箭矢:
       case SECONDARY_STAT_ImmuneBarrier:
       case SECONDARY_STAT_NaviFlying:
       case 地雷:
       case SECONDARY_STAT_MagnetArea:
       case SECONDARY_STAT_RideVehicleExpire:
       case 骑兽技能:
       case 超能光束炮:
       case 灵气大融合:
       case SECONDARY_STAT_PinkbeanRollingGrade:
       case SECONDARY_STAT_Magnet:
       case 昏迷:
       case 虚弱:
       case 缓慢:
       case 变身效果:
       case GHOST_MORPH:
       case 隐身术:
       case 金属机甲:
       case 疾驰速度:
       case 疾驰跳跃:
       case 飞行骑乘:
       case 飞翔:
       case FREEZE:
       case SECONDARY_STAT_Shock:
       case 能量获得:
       case SECONDARY_STAT_KeyDownMoving:
       case 火焰灵气:
       case 精灵的帽子:
       case 花炎结界:
       case 击杀点数:
       case 极速领域:
       case 斗气集中:
       case 属性攻击:
       case 元素冲击:
       case 黑暗:
       case 封印:
       case SECONDARY_STAT_WeaknessMdamage:
       case 诅咒:
       case SECONDARY_STAT_PvPRaceEffect:
       case SECONDARY_STAT_IceKnight:
       case SECONDARY_STAT_DisOrder:
       case SECONDARY_STAT_Explosion:
       case SECONDARY_STAT_Thread:
       case SECONDARY_STAT_Team:
       case 中毒:
       case 无形箭弩:
       case 诱惑:
       case 暗器伤人:
       case 不死化:
       case ARIANT_COSS_IMU:
       case 闪光击:
       case 混乱:
       case SECONDARY_STAT_RespectPImmune:
       case SECONDARY_STAT_RespectMImmune:
       case ILLUSION:
       case 狂暴战魂:
       case 金刚霸体:
       case 天使状态:
       case 无法使用药水:
       case SHADOW:
       case 致盲:
       case 魔法屏障:
       case SECONDARY_STAT_Frozen2:
       case 龙卷风:
       case 撤步退身:
       case 终极斩:
       case 呼啸_爆击概率:
       case 时间胶囊:
       case 巨人药水:
       case 风影漫步:
       case 黑暗变形:
       case 神圣拯救者的祝福:
       case 死亡束缚:
       case SECONDARY_STAT_PyramidEffect:
       case 百分比无视防御:
       case 幻影屏障:
       case 卡牌审判:
       case SECONDARY_STAT_KeyDownAreaMoving:
       case 黑暗高潮:
       case 黑暗祝福:
       case 光暗转换:
       case 模式转换:
       case 剑刃之壁:
       case 天使亲和:
       case 灵魂鼓舞:
       case SECONDARY_STAT_MobZoneState:
       case 连击无限制:
       case 至圣领域:
       case SECONDARY_STAT_IgnorePImmune:
       case 最终审判:
       case 抗震防御:
       case 寒冰灵气:
       case 天堂之门:
       case 伤害吸收:
       case 神圣保护:
       case 无敌状态:
       case 流血剧毒:
       case 隐形剑:
       case 不倦神酒:
       case 阿修罗:
       case 恶魔超越:
       case 尖兵电力:
       case 永动引擎:
       case 元素属性:
       case 开天辟地:
       case 信天翁:
       case 神之子透明:
       case 灵魂武器点数:
       case 灵魂武器特效:
       case 灵魂助力:
       case 防甲穿透:
       case 圣洁之力:
       case 神圣迅捷:
       case 招魂结界:
       case 召唤美洲豹:
       case 战法灵气:
       case 黑暗闪电:
       case 战斗大师:
       case 守护模式变更:
       case 舞力全开:
       case 拔刀姿势:
       case 拔刀术加成:
       case 增加HP百分比:
       case 增加MP百分比:
       case 增加攻击力:
       case 一闪:
       case 稳如泰山:
       case 结界破魔:
       case 厚积薄发:
       case 结合灵气:
       case SECONDARY_STAT_BattlePvP_LangE_Protection:
       case 导航辅助:
       case SECONDARY_STAT_Undead:
       case SECONDARY_STAT_COUNT_PLUS1:
       case 潜入状态:
       case 隐藏碎片:
       case 祝福护甲:
       case 神圣魔法盾:
       case 天使复仇:
       case 心魂本能:
       case 灵魂链接:
       case 光之守护:
       case 忍耐之盾:
       case 水枪阵营:
       case 水枪军阶:
       case 水枪效果:
       case 装备摩诃:
       case 超人变形:
       case 爱星能量:
       case 心雷合一:
       case 子弹盛宴:
       case SECONDARY_STAT_UNK498:
       case 变换攻击:
       case 祈祷:
       case 心魂龙卷风:
       case 向导之箭:
       case 精灵元素:
       case 聚光灯:
       case SECONDARY_STAT_UNK513:
/* 2435 */         return true;
     }

/* 2438 */     return false;
   }

   public static boolean isWriteBuffByteData(MapleBuffStat buffStat) {
/* 2442 */     switch (buffStat) {
       case 变形值:
       case SECONDARY_STAT_NaviFlying:
       case 骑兽技能:
       case 昏迷:
       case 虚弱:
       case 缓慢:
       case 变身效果:
       case GHOST_MORPH:
       case 隐身术:
       case 金属机甲:
       case 疾驰速度:
       case 疾驰跳跃:
       case 飞行骑乘:
       case 飞翔:
       case FREEZE:
       case SECONDARY_STAT_Shock:
       case 能量获得:
       case SECONDARY_STAT_KeyDownMoving:
       case 火焰灵气:
       case 精灵的帽子:
       case 移动速度:
       case 跳跃力:
       case 冒险岛勇士:
       case 增加跳跃力:
       case 增加移动速度:
       case 爆破弹夹:
/* 2469 */         return true;
     }
/* 2471 */     return false;
   }

   public static boolean isWriteBuffIntValue(MapleBuffStat buffStat) {
/* 2475 */     switch (buffStat) {

       case 精神连接:
       case 灵魂凝视:
       case 伤害置换:
       case 返回原位置:
       case 影分身:
       case 三彩箭矢:
       case SECONDARY_STAT_ImmuneBarrier:
       case SECONDARY_STAT_NaviFlying:
       case 地雷:
       case SECONDARY_STAT_MagnetArea:
       case SECONDARY_STAT_RideVehicleExpire:
       case 骑兽技能:
       case 超能光束炮:
       case 灵气大融合:
       case SECONDARY_STAT_PinkbeanRollingGrade:
       case SECONDARY_STAT_Magnet:
       case 极速领域:
       case SECONDARY_STAT_CarnivalDefence:
       case SECONDARY_STAT_DojangLuckyBonus:
       case SECONDARY_STAT_BossShield:
       case SECONDARY_STAT_SetBaseDamage:
       case SECONDARY_STAT_SetBaseDamageByBuff:
       case SECONDARY_STAT_DotHealHPPerSecond:
       case 重击研究:
       case 神圣归一:
       case SECONDARY_STAT_BattlePvP_Helena_WindSpirit:
       case SECONDARY_STAT_BattlePvP_LeeMalNyun_ScaleUp:
       case SECONDARY_STAT_UNK626:
       case SECONDARY_STAT_VampDeath:
       case 攻势之盾:
/* 2507 */         return true;
     }

/* 2510 */     return false;
   }

   public static boolean isWriteNeedPointValue(MapleBuffStat buffStat) {
/* 2514 */     switch (buffStat) {
       case SECONDARY_STAT_RideVehicleExpire:
       case 骑兽技能:
       case 击杀点数:
       case 极速领域:
/* 2519 */         return true;
     }

/* 2522 */     return false;
   }

   public static boolean f(MapleBuffStat buffStat) {
/* 2526 */     switch (buffStat) {
       case 花炎结界:
       case SECONDARY_STAT_ChangeFoxMan:
/* 2529 */         return true;
     }

/* 2532 */     return false;
   }

   public static boolean c(MapleBuffStat stat) {
/* 2536 */     switch (stat) {
       case 激素狂飙:
       case 月光转换:
       case 日月轮转:
       case 晓月流基本技能:
       case 重生契约:
       case 霰弹炮:
       case 皇家守护:
/* 2544 */         return true;
     }

/* 2547 */     return false;
   }

   public static boolean is美洲豹(int skillId) {
/* 2551 */     switch (skillId) {
       case 33001007:
       case 33001008:
       case 33001009:
       case 33001010:
       case 33001011:
       case 33001012:
       case 33001013:
       case 33001014:
       case 33001015:
/* 2561 */         return true;
     }
/* 2563 */     return false;
   }

   public static boolean isRuneSkill(int skillid) {
/* 2567 */     switch (getLinkedAttackSkill(skillid)) {
       case 80001427:
       case 80001428:
       case 80001430:
       case 80001432:
       case 80001752:
       case 80001753:
       case 80001754:
       case 80001755:
       case 80001757:
       case 80001762:
/* 2578 */         return true;
     }

/* 2581 */     return false;
   }

   public static boolean isGeneralSkill(int skillid) {
/* 2585 */     switch (skillid) {
       case 80001242:
       case 80001429:
       case 80001431:
       case 80001761:
       case 80001762:
       case 80011133:
       case 80011273:
/* 2593 */         return true;
     }

/* 2596 */     return (skillid % 10000 == 1095 || skillid % 10000 == 1094);
   }

   public static boolean isExtraSkill(int skillid) {
/* 2600 */     int group = skillid % 10000;
/* 2601 */     switch (group) {
       case 8000:
       case 8001:
       case 8002:
       case 8003:
       case 8004:
       case 8005:
       case 8006:
/* 2609 */         return true;
     }

/* 2612 */     return false;
   }

   public static byte getLinkSkillslevel(int maxLevel, Skill skill, int n3, int defchrlevel) {
     int chrlevel;
/* 2617 */     if (n3 > 0 && skill.isLinkSkills()) {
/* 2618 */       chrlevel = MapleCharacter.getLevelbyid(n3);
/* 2619 */     } else if (skill.isTeachSkills()) {
/* 2620 */       chrlevel = defchrlevel;
     } else {
/* 2622 */       return 0;
     }
/* 2624 */     switch (maxLevel) {
       case 1:
/* 2626 */         return 1;

       case 2:
/* 2629 */         if (chrlevel >= 120) {
/* 2630 */           return 2;
         }
/* 2632 */         return 1;

       case 3:
/* 2635 */         if (chrlevel >= 210) {
/* 2636 */           return 3;
         }
/* 2638 */         if (chrlevel >= 120 && chrlevel < 210) {
/* 2639 */           return 2;
         }
/* 2641 */         return 1;

       case 5:
/* 2644 */         if (chrlevel >= 200) {
/* 2645 */           return 5;
         }
/* 2647 */         if (chrlevel >= 175 && chrlevel < 200) {
/* 2648 */           return 4;
         }
/* 2650 */         if (chrlevel >= 150 && chrlevel < 175) {
/* 2651 */           return 3;
         }
/* 2653 */         if (chrlevel >= 125 && chrlevel < 150) {
/* 2654 */           return 2;
         }
/* 2656 */         return 1;
     }

/* 2659 */     return 2;
   }

   public static int getLinkedSkillId(int skillid) {
/* 2663 */     switch (skillid) {
       case 110:
/* 2665 */         return 80000000;

       case 1214:
/* 2668 */         return 80001151;

       case 20000297:
/* 2671 */         return 80000370;

       case 20010294:
/* 2674 */         return 80000369;

       case 20021110:
/* 2677 */         return 80001040;

       case 20030204:
/* 2680 */         return 80000002;

       case 20040218:
/* 2683 */         return 80000005;

       case 20050286:
/* 2686 */         return 80000169;

       case 30010112:
/* 2689 */         return 80000001;

       case 30010241:
/* 2692 */         return 80000050;

       case 30020233:
/* 2695 */         return 80000047;

       case 40020002:
/* 2698 */         return 80000004;

       case 40010001:
/* 2701 */         return 80000003;

       case 50001214:
/* 2704 */         return 80001140;

       case 60000222:
/* 2707 */         return 80000006;

       case 60011219:
/* 2710 */         return 80001155;

       case 110000800:
/* 2713 */         return 80010006;

       case 10000255:
/* 2716 */         return 80000066;

       case 10000256:
/* 2719 */         return 80000067;

       case 10000257:
/* 2722 */         return 80000068;

       case 10000258:
/* 2725 */         return 80000069;

       case 10000259:
/* 2728 */         return 80000070;

       case 100000271:
/* 2731 */         return 80000110;

       case 140000292:
/* 2734 */         return 80000188;

       case 30000074:
/* 2737 */         return 80000333;

       case 30000075:
/* 2740 */         return 80000334;

       case 30000076:
/* 2743 */         return 80000335;

       case 30000077:
/* 2746 */         return 80000378;

       case 60020218:
/* 2749 */         return 80000261;

       case 150000017:
/* 2752 */         return 80000268;

       case 150010241:
/* 2755 */         return 80000514;

       case 160000001:
/* 2758 */         return 80000609;

       case 150020241:
/* 2761 */         return 80002857;
     }

/* 2764 */     return -1;
   }




   public static boolean isTeachSkills(int id) {
/* 2771 */     switch (id) {

       case 10000255:
       case 10000256:
       case 10000257:
       case 10000258:
       case 10000259:
       case 20000297:
       case 20010294:
       case 20021110:
       case 20030204:
       case 20040218:
       case 20050286:
       case 30000074:
       case 30000075:
       case 30000076:
       case 30000077:
       case 30010112:
       case 30010241:
       case 30020233:
       case 40010001:
       case 40020002:
       case 50001214:
       case 60000222:
       case 60011219:
       case 60020218:
       case 100000271:
       case 110000800:
       case 140000292:
       case 150000017:
       case 150010241:
       case 150020241:
       case 160000001:
/* 2804 */         return true;
     }
/* 2806 */     return false;
   }






   public static boolean isLinkSkills(int id) {
/* 2815 */     switch (id) {



       case 80000001:
       case 80000002:
       case 80000003:
       case 80000004:
       case 80000005:
       case 80000006:
       case 80000047:
       case 80000050:
       case 80000066:
       case 80000067:
       case 80000068:
       case 80000069:
       case 80000070:
       case 80000110:
       case 80000169:
       case 80000188:
       case 80000261:
       case 80000268:
       case 80000333:
       case 80000334:
       case 80000335:
       case 80000369:
       case 80000370:
       case 80000378:
       case 80000514:
       case 80000609:
       case 80001040:
       case 80001140:
       case 80001155:
       case 80002857:
       case 80010006:
/* 2850 */         return true;
     }
/* 2852 */     return false;
   }

   public static int[] gm(int skillid) {
/* 2856 */     switch (skillid) {
       case 80000055:
/* 2858 */         return new int[] { 80000066, 80000067, 80000068, 80000069, 80000070 };

       case 80000329:
/* 2861 */         return new int[] { 80000333, 80000334, 80000335, 80000378 };
     }

/* 2864 */     return null;
   }

   public static int gn(int skillid) {
/* 2868 */     switch (skillid) {
       case 80000066:
       case 80000067:
       case 80000068:
       case 80000069:
       case 80000070:
/* 2874 */         return 80000055;

       case 80000333:
       case 80000334:
       case 80000335:
       case 80000378:
/* 2880 */         return 80000329;

       case 80000055:
/* 2883 */         return 80000055;

       case 80000329:
/* 2886 */         return 80000329;
     }

/* 2889 */     return 0;
   }

   public static int go(int skillid) {
/* 2893 */     switch (skillid) {
       case 80000055:
/* 2895 */         return 80000055;

       case 80000329:
/* 2898 */         return 80000329;

       case 80000000:
/* 2901 */         return 110;

       case 80001151:
/* 2904 */         return 1214;

       case 80000370:
/* 2907 */         return 20000297;

       case 80000369:
/* 2910 */         return 20010294;

       case 80001040:
/* 2913 */         return 20021110;

       case 80000002:
/* 2916 */         return 20030204;

       case 80000005:
/* 2919 */         return 20040218;

       case 80000169:
/* 2922 */         return 20050286;

       case 80000001:
/* 2925 */         return 30010112;

       case 80000050:
/* 2928 */         return 30010241;

       case 80000047:
/* 2931 */         return 30020233;

       case 80000004:
/* 2934 */         return 40020002;

       case 80000003:
/* 2937 */         return 40010001;

       case 80001140:
/* 2940 */         return 50001214;

       case 80000006:
/* 2943 */         return 60000222;

       case 80001155:
/* 2946 */         return 60011219;

       case 80010006:
/* 2949 */         return 110000800;

       case 80000066:
/* 2952 */         return 10000255;

       case 80000067:
/* 2955 */         return 10000256;

       case 80000068:
/* 2958 */         return 10000257;

       case 80000069:
/* 2961 */         return 10000258;

       case 80000070:
/* 2964 */         return 10000259;

       case 80000110:
/* 2967 */         return 100000271;

       case 80000188:
/* 2970 */         return 140000292;

       case 80000333:
/* 2973 */         return 30000074;

       case 80000334:
/* 2976 */         return 30000075;

       case 80000335:
/* 2979 */         return 30000076;

       case 80000378:
/* 2982 */         return 30000077;

       case 80000268:
/* 2985 */         return 150000017;

       case 80000514:
/* 2988 */         return 150010241;

       case 80000261:
/* 2991 */         return 60020218;
     }

/* 2994 */     return -1;
   }









   public static boolean isNoApplyTo(int skillId) {
/* 3006 */     switch (skillId) {


       case 2201009:
       case 2301002:
       case 3011004:
       case 3300002:
       case 3301008:
       case 3321003:
       case 5101012:
       case 5101014:
       case 13101022:
       case 13110022:
       case 13120003:
       case 13121054:
       case 24120055:
       case 27121201:
       case 31121005:
       case 31221014:
       case 35101002:
       case 35110017:
       case 35121052:
       case 36111004:
       case 61101002:
       case 61110211:
       case 61111100:
       case 61111218:
       case 61120007:
       case 61121217:
       case 65111007:
       case 80002247:
       case 95001000:
       case 112001006:
       case 151111003:
       case 400001010:
       case 400001011:
       case 400011004:
       case 400011052:
       case 400011053:
       case 400011058:
       case 400011059:
       case 400011060:
       case 400011061:
       case 400011072:
       case 400011089:
       case 400011102:
       case 400011108:
       case 400021001:
       case 400021004:
       case 400021008:
       case 400021028:
       case 400021041:
       case 400021048:
       case 400021049:
       case 400021050:
       case 400031003:
       case 400031004:
       case 400031012:
       case 400031013:
       case 400031014:
       case 400031020:
       case 400031022:
       case 400031034:
       case 400031036:
       case 400031037:
       case 400031038:
       case 400031039:
       case 400031040:
       case 400041010:
       case 400041016:
       case 400041017:
       case 400041018:
       case 400041020:
       case 400041038:
       case 400051003:
       case 400051007:
       case 400051008:
       case 400051011:
       case 400051015:
       case 400051017:
       case 400051018:
       case 400051019:
       case 400051020:
       case 400051027:
/* 3090 */         return true;
     }
/* 3092 */     return false;
   }

   public static boolean is猴子护卫队(int skillId) {
/* 3096 */     switch (skillId) {
       case 400051038:
       case 400051052:
       case 400051053:
/* 3100 */         return true;
     }
/* 3102 */     return false;
   }

   public static boolean isMultiAttack(int skillid) {
/* 3106 */     switch (skillid) {
       case 2121054:
       case 2221012:
       case 3111013:
       case 4221052:
       case 4341054:
       case 5101012:
       case 5101014:
       case 5220019:
       case 5301001:
       case 12120011:
       case 12121001:
       case 13121054:
       case 14111022:
       case 14111023:
       case 27120211:
       case 27121201:
       case 31101002:
       case 31121005:
       case 32111016:
       case 61111100:
       case 101121200:
       case 400001018:
       case 400011004:
       case 400011052:
       case 400011053:
       case 400021004:
       case 400021028:
       case 400021029:
       case 400031000:
       case 400031003:
       case 400031004:
       case 400031020:
       case 400031021:
       case 400031022:
       case 400041002:
       case 400041003:
       case 400041004:
       case 400041005:
       case 400041009:
       case 400041010:
       case 400041020:
       case 400051007:
       case 400051008:
       case 400051015:
       case 400051017:
/* 3152 */         return true;
     }

/* 3155 */     return false;
   }

   public static int getEquipSummonedSkillID(int equip) {
/* 3159 */     switch (equip) {
       case 1112585:
       case 1112594:
/* 3162 */         return 1085;

       case 1112586:
/* 3165 */         return 1087;

       case 1112663:
/* 3168 */         return 80000155;

       case 1112735:
/* 3171 */         return 80001154;

       case 1113008:
/* 3174 */         return 80000052;

       case 1113009:
/* 3177 */         return 80000053;

       case 1113010:
/* 3180 */         return 80000054;

       case 1114200:
/* 3183 */         return 80001518;

       case 1114219:
/* 3186 */         return 80001715;

       case 1114201:
/* 3189 */         return 80001519;

       case 1114220:
/* 3192 */         return 80001716;

       case 1114202:
/* 3195 */         return 80001520;

       case 1114221:
/* 3198 */         return 80001717;

       case 1114203:
/* 3201 */         return 80001521;

       case 1114222:
/* 3204 */         return 80001718;

       case 1114204:
/* 3207 */         return 80001522;

       case 1114223:
/* 3210 */         return 80001719;

       case 1114205:
/* 3213 */         return 80001523;

       case 1114224:
/* 3216 */         return 80001720;

       case 1114206:
/* 3219 */         return 80001524;

       case 1114225:
/* 3222 */         return 80001721;

       case 1114207:
       case 1114213:
       case 1114226:
       case 1114238:
/* 3228 */         return 80011103;

       case 1114208:
       case 1114214:
       case 1114227:
       case 1114239:
/* 3234 */         return 80011104;

       case 1114209:
       case 1114215:
       case 1114228:
       case 1114240:
/* 3240 */         return 80011105;

       case 1114210:
       case 1114216:
       case 1114229:
       case 1114241:
/* 3246 */         return 80011106;

       case 1114211:
       case 1114217:
       case 1114230:
       case 1114242:
/* 3252 */         return 80011107;

       case 1114212:
       case 1114218:
       case 1114231:
       case 1114243:
/* 3258 */         return 80011108;

       case 1113020:
/* 3261 */         return 80001262;

       case 1113189:
/* 3264 */         return 80010067;

       case 1113204:
/* 3267 */         return 80010075;

       case 1113190:
/* 3270 */         return 80010068;

       case 1113205:
/* 3273 */         return 80010076;

       case 1113191:
/* 3276 */         return 80010069;

       case 1113206:
/* 3279 */         return 80010077;

       case 1113192:
/* 3282 */         return 80010070;

       case 1113207:
/* 3285 */         return 80010078;

       case 1113193:
/* 3288 */         return 80010071;

       case 1113208:
/* 3291 */         return 80010079;

       case 1113194:
/* 3294 */         return 80010072;

       case 1113209:
/* 3297 */         return 80010080;
     }

/* 3300 */     return -1;
   }

   public static int eE(int n2) {
/* 3304 */     switch (n2) {
       case 80000086:
/* 3306 */         return 2023189;

       case 86:
       case 91:
/* 3310 */         return 2022746;

       case 88:
/* 3313 */         return 2022747;

       case 80000052:
/* 3316 */         return 2023148;

       case 80000053:
/* 3319 */         return 2023149;

       case 80000054:
/* 3322 */         return 2023150;

       case 80000155:
/* 3325 */         return 2022823;
     }

/* 3328 */     return -1;
   }

   public static boolean isNoCancelBuff(int buffid) {
/* 3332 */     switch (buffid) {
       case 5221021:
       case 11121014:
/* 3335 */         return true;
     }
/* 3337 */     return false;
   }


   public static boolean isVSkill(int skillid) {
/* 3342 */     return (skillid / 10000 >= 40000 && skillid / 10000 <= 40005);
   }

   public static boolean isFourthJob(int skillid) {
    if (JobConstants.is林之灵(skillid / 10000)) {
        return false;
    } else {
        boolean n2;
        boolean b3;
        label356: {
            label439: {
                label424: {
                    n2 = false;
                    boolean b = false;
                    if (skillid > 5321006) {
                        if (skillid > 33120010) {
                            if (skillid <= 152120003) {
                                if (skillid == 152120003 || skillid == 35120014 || skillid == 51120000) {
                                    n2 = true;
                                    break label356;
                                }

                                b = skillid == 80001913;
                            } else {
                                if (skillid <= 152121006) {
                                    if (skillid == 152121006 || skillid >= 152120012 && skillid <= 152120013) {
                                        break label439;
                                    }

                                    n2 = false;
                                    break label356;
                                }

                                b = skillid == 152121010;
                            }
                        } else {
                            if (skillid == 33120010) {
                                break label439;
                            }

                            if (skillid <= 22171069) {
                                if (skillid != 22171069) {
                                    if (skillid > 21120021) {
                                        b3 = skillid == 21121008;
                                    } else {
                                        if (skillid >= 21120020 || skillid == 21120011) {
                                            n2 = true;
                                            break label356;
                                        }

                                        b3 = skillid - 21120011 == 3;
                                    }

                                    n2 = b3;
                                    break label356;
                                }
                                break label439;
                            }

                            if (skillid == 23120013 || skillid - 23120013 == 995) {
                                n2 = true;
                                break label356;
                            }

                            b = skillid - 23120013 == 998;
                        }
                    } else {
                        if (skillid == 5321006) {
                            n2 = true;
                            break label356;
                        }

                        if (skillid > 4340010) {
                            if (skillid <= 5220014) {
                                if (skillid == 5220014) {
                                    break label424;
                                }

                                if (skillid > 5120012) {
                                    b = skillid == 5220012;
                                } else {
                                    if (skillid >= 5120011) {
                                        break label424;
                                    }

                                    b = skillid == 4340012;
                                }
                            } else {
                                if (skillid == 5221022 || skillid == 5320007) {
                                    n2 = true;
                                    break label356;
                                }

                                b = skillid == 5321004;
                            }
                        } else {
                            if (skillid == 4340010) {
                                n2 = true;
                                break label356;
                            }

                            if (skillid > 2321010) {
                                if (skillid == 3210015 || skillid == 4110012) {
                                    n2 = true;
                                    break label356;
                                }

                                b = skillid == 4210012;
                            } else {
                                if (skillid == 2321010) {
                                    n2 = true;
                                    break label356;
                                }

                                if (skillid > 2121009) {
                                    b = skillid == 2221009;
                                } else {
                                    if (skillid == 2121009 || skillid == 1120012) {
                                        n2 = true;
                                        break label356;
                                    }

                                    b = skillid == 1320011;
                                }
                            }
                        }
                    }

                    n2 = b;
                    break label356;
                }

                n2 = true;
                break label356;
            }

            n2 = true;
        }

        if (!n2 && (skillid / 1000000 != 92 || skillid % 10000 != 0) && !isLifeSkill(skillid) && !isRingSkill(skillid)) {
            int n3 = skillid / 10000;
            if (skillid / 10000 == 8000) {
                n3 = skillid / 100;
            }

            if (n3  <= 5 || !isBeginnerSkill(n3)) {
                int dx;
                if (skillid > 0) {
                    dx = skillid / 10000;
                    if (skillid / 10000 == 8000) {
                        dx = skillid / 100;
                    }

                    b3 = dx == 9500;
                } else {
                    b3 = false;
                }

                if (!b3) {
                    if (((dx = dX(skillid)) < 40000 || dx > 40005) && skillid != 42120024 && skillid / 100 != 112 && skillid != 11000) {
                        boolean b4=false;
                        if (skillid > 101100101) {
                            if (skillid > 101110203) {
                                if (skillid == 101120104) {
                                    return b4 || getJobStage(dx) == 4 && !JobConstants.is神之子(dx);
                                }

                                b4 = skillid - 101120104 == 100;
                            } else {
                                if (skillid == 101110203 || skillid == 101100201 || skillid == 101110102) {
                                    b4 = true;
                                    return b4 || getJobStage(dx) == 4 && !JobConstants.is神之子(dx);
                                }

                                b4 = skillid == 101110200;
                            }
                        } else {
                            if (skillid == 101100101) {
                                b4 = true;
                                return b4 || getJobStage(dx) == 4 && !JobConstants.is神之子(dx);
                            }

                            if (skillid > 4331002) {
                                if (skillid == 4340007 || skillid == 4341004) {
                                    b4 = true;
                                    return b4 || getJobStage(dx) == 4 && !JobConstants.is神之子(dx);
                                }

                                b4 = skillid == 101000101;
                            } else {
                                if (skillid == 4331002 || skillid == 4311003 || skillid == 4321006) {
                                    b4 = true;
                                    return b4 || getJobStage(dx) == 4 && !JobConstants.is神之子(dx);
                                }

                                b4 = skillid == 4330009;
                            }
                        }

                        return b4 || getJobStage(dx) == 4 && !JobConstants.is神之子(dx);
                    }

                    return false;
                }
            }
        }

        return false;
    }

   }

   public static boolean isLifeSkill(int n) {
/* 3522 */     boolean b = false;
/* 3523 */     if ((n / 1000000 != 92 || n % 10000 != 0) && (n = 10000 * n / 10000) / 1000000 == 92 && n % 10000 == 0) {
/* 3524 */       b = true;
     }
/* 3526 */     return b;
   }

   public static boolean isRingSkill(int id) {
/* 3530 */     int job = id / 10000;
/* 3531 */     if (id / 10000 == 8000) {
/* 3532 */       job = id / 100;
     }
/* 3534 */     return ((job >= 800000 && job <= 800099) || job == 8001);
   }

   public static int dX(int n) {
/* 3538 */     int n2 = n / 10000;
/* 3539 */     if (n / 10000 == 8000) {
/* 3540 */       n2 = n / 100;
     }
/* 3542 */     return n2;
   }

   public static int getJobStage(int n) {
/* 3546 */     if (isBeginnerSkill(n) || n % 100 == 0 || n == 501 || n == 3101 || n == 508) {
/* 3547 */       return 1;
     }
/* 3549 */     if (JobConstants.is龙神(n)) {
/* 3550 */       switch (n) {
         case 2200:
         case 2210:
/* 3553 */           return 1;

         case 2211:
         case 2212:
         case 2213:
/* 3558 */           return 2;

         case 2214:
         case 2215:
         case 2216:
/* 3563 */           return 3;

         case 2217:
         case 2218:
/* 3567 */           return 4;
       }

/* 3570 */       return 0;
     }


/* 3574 */     if (JobConstants.is双刀(n)) {
/* 3575 */       n = n % 10 / 2;
     } else {
/* 3577 */       n %= 10;
     }
/* 3579 */     if (n <= 2) {
/* 3580 */       return n + 2;
     }
/* 3582 */     return 0;
   }


   public static boolean isBeginnerSkill(int job) {
     boolean ret;
/* 3588 */     if (job > 6002) {
/* 3589 */       if (job == 8001 || job == 13000) {
/* 3590 */         return true;
       }
/* 3592 */       ret = (job == 14000 || job == 15000 || job == 15001 || job == 15002);
     } else {
/* 3594 */       if (job >= 6000) {
/* 3595 */         return true;
       }
/* 3597 */       if (job <= 4002) {
/* 3598 */         return (job >= 4001 || (job <= 3002 && (job >= 3001 || (job >= 2001 && job <= 2005))) || (job - 40000 > 5 && (job % 1000 == 0 || job / 100 == 8000)));
       }
/* 3600 */       ret = (job == 5000);
     }
/* 3602 */     return (ret || (job - 40000 > 5 && (job % 1000 == 0 || job / 100 == 8000)));
   }

   public static boolean isNotCooltimeReset(int skillId) {
/* 3606 */     Skill skill = SkillFactory.getSkill(skillId);
/* 3607 */     switch (skillId) {
       case 61121054:
/* 3609 */         return true;
     }

/* 3612 */     return (skill != null && skill.isNotCooltimeReset());
   }
 }


/* Location:              C:\PGX\Server.jar!\constants\SkillConstants.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */